{include file="`$smarty.const.BASE`modules/common/views/_permission_icons.tpl"}
{if $config->id > 0}
 <link rel="stylesheet" type="text/css" href="{$smarty.const.URL_FULL}modules/basicsocialmodule/css/social_style.css">
<div class="columns">
<!--twitter-->
<div class="left-column social-pod twitter-pod">
			<div class="headline">{$_TR.twitte_us} @{$config->twitter_id}</div>
		  <div class="social-widget">
			<script src="https://widgets.twimg.com/j/2/widget.js"></script>
			{literal}
						<script>
			new TWTR.Widget({
			  version: 2,
			  type: 'profile',
			  rpp: 3,
			  interval: 6000,
			  width: 182,
			  height: 100,
			  theme: {
				shell: {
				  background: 'transparent',
				  color: '#666'
				},
				tweets: {
				  background: 'transparent',
				  color: '#666',
				  links: '#164066'
				}
			  },
			  features: {
				scrollbar: false,
				loop: false,
				live: true,
				behavior: 'all'
			  }
			}).render().setUser('{/literal}{$config->twitter_id}{literal}').start();
			</script>
			{/literal}
		  </div>
		</div>
<!--end twitter-->

<!--facebook-->
 <div class="right-column social-pod facebook-pod">
		  <div class="social-widget">
				 <iframe src="https://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F{$config->facebook_id}&amp;width=182&amp;colorscheme=light&amp;show_faces=true&amp;stream=false&amp;header=true&amp;footer=false&amp;height=220&amp;border_color=%23fff" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:185px; height:222px; " allowTransparency="true"></iframe>
		  </div>      
 </div>
<!--end facebook-->
</div>
{else}
	{$_TR.please_config}
{/if}